<?php

/**
 * LogController - Logs de usuarios, admin.
 *
 * @author Fernando Dias Oliveira <rodox17@gmail.com>
 * @package intranet
 * @subpackage controller
 */

class LogController extends AppBaseController
{
	public function init()
	{
		parent::init();
		
		if($this->usuario->grupo != 99)
		{
			die("Sem permissao.");
		}
		
		$this->view->title = "Log";		
	}

    public function indexAction() 
    {
		$this->view->dir = Dir::getArray("public/log/", ".log");
    }
}
